package com.jiuyuan.mapper;

import com.jiuyuan.entity.Menu;
import com.jiuyuan.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiuyuan
 * @since 2023-02-15
 */
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> getRolesByAdminId(@Param("id") Integer id);


}
